package main

import "fmt"

type Person struct {
	id   string
	name string
	age  string
}
type Student struct {
	Person
	score float64
}

func (p *Person) pringtInfo() {
	fmt.Println(*p)
}
func main() {
	var stu Student = Student{Person{"1", "2", "3"}, 123.4}
	var stu1 Student = Student{score: 123}
	stu.pringtInfo()
	stu1.pringtInfo()
}
